<?PHP
  class languageselector extends Control{
    public $style = '';
	
    public function getCode(){
      $res =  "<select name=\"".$this->name."\" style=\"".$this->style."\">";
	  $res .= "<option value=\"de\">Deutsch</option>";
	  $res .= "<option value=\"en\">English</option>";
      $res .= "</select>";
      return $res;
    }
  }
?>